namespace Ke.Bee.Shared.Models.Uploads;

/// <summary>
/// 上传选项
/// </summary>
public class UploadOptions
{
    /// <summary>
    /// 默认上传路径
    /// </summary>
    public string UploadPath { get; set; } = "uploads";
    /// <summary>
    /// 临时文件路径
    /// </summary>
    public string TempDirectory { get; set; } = "temp";
    /// <summary>
    /// 文件最大大小 MB
    /// </summary>
    public int MaxFileSize { get; set; } = 500 * 1024 * 1024;
    /// <summary>
    /// 允许的文件扩展名
    /// </summary>
    public string[] AllowedExtensions { get; set; } =
    [
        ".mp3", ".wav", ".flac", ".aac", ".wma", ".m4a", ".ogg", ".mp4", ".avi", ".mov", ".mkv", ".wmv", ".flv"
    ];
}